package com.bolang.onlycode.demo.Cache;

import java.util.concurrent.atomic.AtomicInteger;

public class ThreadLocalTest {
    private static AtomicInteger nextHashCode =
            new AtomicInteger();
    private final int threadLocalHashCode = nextHashCode.getAndAdd(HASH_INCREMENT);
    private static final int HASH_INCREMENT = 0x61c88647;

    public static void main(String[] args) {
        ThreadLocalTest threadLocalTest1 =new ThreadLocalTest();
        ThreadLocalTest threadLocalTest2 =new ThreadLocalTest();
        ThreadLocalTest threadLocalTest3 =new ThreadLocalTest();
        ThreadLocalTest threadLocalTest4 =new ThreadLocalTest();
        int i=1;
    }
}
